package com.training.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class Information {
    private Long id;
    private Long teaId;
    private String infoTitle;
    private String infoMain;
    private Long infoLike;
    private Long infoCollection;
    private Long infoComment;
    private String infoImage; // 存储图片路径
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer deleted;

    // 非数据库字段，用于显示教师姓名
    private String teacherName;
}